updateAgent

Update agent settings

Format

udclient [global-args...] [global-flags...]
  updateAgent [parameters] [JSON file]

Parameters

Table 1. Parameters
Parameter Type Required Description
agent string true Name or ID of the agent

Template

This command takes a JSON request string or file. Use the following template for the request:
{
  "configurationTemplate": "Name or id of the Agent 
  Configuration Template to set for this agent",
  "description": "The description of the agent",
  "impersonationForce": "Force impersonation. When set to 
  true, do not allow steps or resource configuration to 
  change impersonation settings",
  "impersonationGroup": "Default group to use for 
  impersonation",
  "impersonationPassword": "Password to use for 
  impersonation (only applicable for Windows)",
  "impersonationUseSudo": "Use sudo for impersonation 
  (only applicable for *nix)",
  "impersonationUser": "Default user to use for 
  impersonation",
  "licenseType": "License type to use for this agent",
  "name": "Name of the agent"
}

Related REST command: Update agent settings.